package com.shwread.android.qysw.step.dto;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

public class BaseDto {

    int resultCode;
    String msg;
    String returnObject;
    public int getResultCode() {
        return resultCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getReturnObject() {
        return returnObject;
    }

    public void setReturnObject(String returnObject) {
        this.returnObject = returnObject;
    }

    public static BaseDto parserJson1(String jsonString) {
        Gson gson = GsonHelper.getInstance().getGson();
        return (BaseDto) gson.fromJson(jsonString, new TypeToken<BaseDto>() {
        }.getType());
    }


}
